import eslintConfig from '@electron-toolkit/eslint-config'
import eslintConfigPrettier from '@electron-toolkit/eslint-config-prettier'
import eslintPluginVue from 'eslint-plugin-vue'

export default {
  extends: [
    { ignores: ['**/node_modules', '**/dist', '**/out'] },
    eslintConfig,
    ...eslintPluginVue.configs['flat/recommended'],
    {
      files: ['**/*.{js,jsx,vue}'],
      rules: {
        'vue/require-default-prop': 'off',
        'vue/multi-word-component-names': 'off'
      }
    },
    eslintConfigPrettier,
    'plugin:vue/vue3-recommended',
  ],
  rules: {
    'vue/multi-word-component-names': 'off',
  }
}
